package com.qf.service;

import com.qf.pojo.Order;
import com.qf.pojo.PageBean;

/**
 * @author Mr.Liu
 * @date 2021/11/27 17:52
 */

public interface OrderService {
    /**
     * 生成订单
     * @param order
     */
    void addOrder(Order order) ;

    /**
     * 查询订单列表
     * @param currentPage
     * @param pageSize
     * @param uid
     * @return
     */
    PageBean<Order> foundOrder(int currentPage, int pageSize, String uid);
}
